package rpc

import (
	"grpc.getaway.adminspro.padmins.com/pkg/config"
	pbAdmin "grpc.getaway.adminspro.padmins.com/pkg/proto/admin"
	pbAuthorizationAdmin "grpc.getaway.adminspro.padmins.com/pkg/proto/authorizationAdmin"
)

func GetAuthorizationAdminClient() pbAuthorizationAdmin.AuthorizationAdminClient {
	return pbAuthorizationAdmin.NewAuthorizationAdminClient(GetClientConn(config.Config.Rpc.RegisterName.AuthorizationAdmin))
}

func GetAdminClient() pbAdmin.AdminClient {
	return pbAdmin.NewAdminClient(GetClientConn(config.Config.Rpc.RegisterName.Admin))
}
